#include "QtTreeWidgetItemReorderingByDrag.h"
#include "CustomTreeWidget.h"
#include "QDockWidget"

QtTreeWidgetItemReorderingByDrag::QtTreeWidgetItemReorderingByDrag(QWidget *parent)
	: QMainWindow(parent)
{
	// create the dock and tree
	QDockWidget* dock = new QDockWidget(tr("Project"), this);
	CustomTreeWidget* tree = new CustomTreeWidget(dock);
	dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
	dock->setWidget(tree);
	addDockWidget(Qt::RightDockWidgetArea, dock);

	//

}
